package com.dliu.javadesign.structure.bridge;

/**
 * @author yanglei
 * date 2021/3/30 16:43
 */
public interface Brand {
    String getName();

    class Apple implements Brand {
        @Override
        public String getName() {
            return "苹果";
        }
    }

    class Huawei implements Brand {
        @Override
        public String getName() {
            return "华为";
        }
    }
}
